<template>
	<i :style="fz" class="vs-icon notranslate icon-scale material-icons null">{{ icon }}</i>
</template>

<script>
export default {
	name: 'Icon',
	props: {
		icon: {
			type: String
		},
		size: {
			type: Number
		}
	},
	computed: {
		fz() {
			var size = this.size;
			if (size) {
				return `font-size: ${size}px`;
			} else {
				return;
			}
		}
	}
};
</script>

<style></style>
